package com.example;

import com.github.yulichang.injector.MPJSqlInjector;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//@SpringBootApplication(exclude = {MPJSqlInjector.class})
@SpringBootApplication
@MapperScan("com.example.sys.mapper")
public class DemoMpApplication {
    
    //@Value("${server.port}")
    //private static String PORT;

    public static void main(String[] args) {
        SpringApplication.run(DemoMpApplication.class, args);

        String swaggerUrl = "http://localhost:7000" + "/swagger-ui/index.html";
        System.out.println("swagger: " + swaggerUrl);
    }

}
